package com.fire.service;

import java.sql.SQLException;
import java.util.List;

import com.fire.bo.fly.req.FlyDelReq;
import com.fire.bo.fly.req.FlyListReq;
import com.fire.bo.fly.req.FlyReq;
import com.fire.bo.fly.res.FlyRes;

public interface FlyService
{
	/**
	 * 新增
	 * 
	 * @param bean
	 * @throws SQLException
	 */
	FlyReq insertFly(FlyReq bean) throws SQLException;
	
	/**
	 * 删除
	 * 
	 * @param bean
	 * @throws SQLException
	 */
	void delFly(FlyDelReq bean) throws SQLException;
	
	/**
	 * 查询列表
	 * 
	 * @param bean
	 * @throws SQLException
	 */
	List<FlyRes> findFlyList(FlyListReq bean) throws SQLException;
	
	int findFlyListCount(FlyListReq bean) throws SQLException;
}
